Skip to content

Conversation

@joannekoch
Copy link
Collaborator

Changes include:

  1. Automated testing code and supporting scripts.
  2. Add clean_column_names to underway data import.
  3. Add get instruments ep to event data.
  4. Fix bug with r2r event indexing in event data processing.
  5. Add token authorization to nearest_station ep.

Need to rerun importunderwaydata after merging this PR.

@joannekoch joannekoch self-assigned this Sep 16, 2025
@joannekoch joannekoch added the enhancement New feature or request label Sep 16, 2025
@joefutrelle joefutrelle requested a review from Copilot October 6, 2025 19:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds automated testing infrastructure and implements several bug fixes and feature enhancements to the API. The main purpose is to establish comprehensive automated testing capabilities while fixing issues related to event data processing, file naming consistency, and API endpoint improvements.

Key changes include:

  • Comprehensive automated test suite with Selenium WebDriver for end-to-end testing
  • Bug fixes for R2R event indexing in event data processing and file naming consistency across services
  • Enhanced event data API with new instrument endpoint and improved parameter handling

Reviewed Changes

Copilot reviewed 32 out of 44 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/ Complete automated test suite with Node.js scripts for API endpoints, Selenium tests for UI, Docker configuration, and test data files
api/events/ Enhanced event data processing with R2R event support, new instruments endpoint, and improved parameter handling
api/stations/api.py Added token authorization to nearest_station endpoint
api/core/views.py Fixed column name references for underway data display and enhanced CTD plot response headers
api/underway/ Added clean_column_names utility integration and fixed file naming consistency
api/*/services.py Consistent lowercase file naming across multiple service modules
docker-compose-testing.yml Docker configuration for automated testing environment

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

correct punctuation

Co-authored-by: Copilot <[email protected]>
@joefutrelle
Copy link
Contributor

Everything working well locally, LGTM

@joefutrelle joefutrelle merged commit 4833e5a into main Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants